package com.wy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wy.model.entity.Permission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
  //根据userId查找权限数据
  List<Permission> findPermissionListUserId(@Param("userId") Integer userId);
}
